package com.linan.base.service;

import com.linan.base.domain.PageList;
import com.linan.base.query.BaseQuery;
import org.springframework.stereotype.Service;

import java.util.List;

public interface IBaseService<T> {
    void  save(T t);

    void update(T t);

    void delete(Long id);

    T getById(Long id);

    List<T> getAll();

    PageList<T> queryData(BaseQuery query);


}
